class demo {
    constructor(name) {
        this.name=name;
    }
    show(){
        console.log(this.name);
    }
}
let a = new demo('这个女生');
a.show();